<extend file='resource/view/mobile'/>
<block name="title">会员中心 - HDCMS开源免费三网系统</block>
<block name="content">
    <div class="ucenter">
        <div>
            <div class="header" style="background-image: url(resource/images/bg.jpg)">
                <div class="col-xs-3 ico"><img src="{{Session::get('member.icon')?:'resource/images/user.jpg'}}"></div>
                <div class="col-xs-7 user"><h2 class="col-xs-12">
                    <a href="{{web_url('info/setting')}}">{{v('user.info.nickname')?:'设置昵称'}}</a>
                </h2>
                    <div class="col-xs-6">{{v('user.group.title')}} (uid:{{v('user.info.uid')}})</div>
                    <div class="col-xs-6">{{v('user.info.credit1')}}积分</div>
                </div>
                <div class="col-xs-2">
                    <a href="{{web_url('info/setting')}}" class="pull-right setting">
                        <i class="fa fa-cog"></i>
                    </a>
                </div>
            </div>
            <div class="well pay clearfix">
                <div class="col-xs-3">
                    <a href="{{web_url('ticket/lists')}}&type=1&status=1">
                        <i class="fa fa-credit-card"></i> <span>折扣券</span>
                    </a>
                </div>
                <div class="col-xs-3">
                    <a href="{{web_url('ticket/lists')}}&type=2&status=1">
                        <i class="fa fa-diamond"></i> <span>代金券</span>
                    </a>
                </div>
                <div class="col-xs-3"><a href="{{web_url('credit/lists')}}&type=credit1">
                    <i class="fa fa-flag-o"></i> <span>积分</span>
                </a>
                </div>
                <div class="col-xs-3"><a href="{{web_url('credit/lists')}}&type=credit2">
                    <i class="fa fa-money"></i> <span>余额</span>
                </a>
                </div>
            </div>
        </div>

        <div class="list-group">
            <a href="{{web_url('account/balance')}}" class="list-group-item">
                <i class="fa fa-suitcase"></i> 余额充值 <i class="fa fa-angle-right pull-right"></i>
            </a>
            <a href="{{web_url('ticket/lists')}}&type=1&status=1" class="list-group-item">
                <i class="fa fa-gift"></i> 我的折扣券 <i class="fa fa-angle-right pull-right"></i>
            </a>
            <a href="{{web_url('ticket/lists')}}&type=2&status=1" class="list-group-item">
                <i class="fa fa-pie-chart"></i> 我的代金券 <i class="fa fa-angle-right pull-right"></i>
            </a>
        </div>
        <!--菜单列表-->
        <div class="list-group">
            <foreach from="$menus" value="$m">
                <a href="{{$m['url']}}" class="list-group-item">
                    <i class="{{$m['icon']}}"></i> {{$m['name']}} <i class="fa fa-angle-right pull-right"></i>
                </a>
            </foreach>
        </div>
        <!--自定义内容-->
        {{$uc['html']}}
        <!--菜单列表 end-->
        <div class="list-group">
            <a href="{{web_url('mobile/changeMobile')}}" class="list-group-item">
                <i class="fa fa-mobile-phone"></i>
                修改手机号 <i class="fa fa-angle-right pull-right"></i>
            </a>
            <a href="{{web_url('address/lists')}}" class="list-group-item">
                <i class="fa fa-film"></i>
                地址管理 <i class="fa fa-angle-right pull-right"></i>
            </a>
            <a href="{{web_url('reg/out')}}" class="list-group-item">
                <i class="fa fa-external-link"></i>
                退出系统 <i class="fa fa-angle-right pull-right"></i>
            </a>
        </div>
    </div>
</block>